package com.yuwei.goods_detail.adapter

import android.widget.ImageView
import com.bumptech.glide.Glide
import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.viewholder.BaseViewHolder
import com.yuwei.goods_detail.R

class CommentSatisfactionAdapter: BaseQuickAdapter<Int, BaseViewHolder>(R.layout.item_comment_satisfaction) {
    override fun convert(holder: BaseViewHolder, item: Int) {
        val view = holder.getView<ImageView>(R.id.satisfaction_iv)
        Glide.with(context).load(item).into(view)
    }
}